<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ironclad.app.dao.IroncladAddressMapper">

	<resultMap id="ToMap" type="${model[2]}To">
		<id column="${key.dbName}" property="${key.beanName}" />
		<#list ormList as orm>
		<result column="${(orm.dbName)!'_'}" property="${(orm.beanName)!'_'}" />
		</#list>
	</resultMap>

	<select id="pageList" resultMap="ToMap">
		SELECT t.* FROM sys_role t WHERE vali=#{vali}
		<where>

		</where>
	</select>

</mapper>
